const Router = require('koa-router')
const router = new Router()
const service = require('./WebAppService.js')
var axios = require('axios')

router.get('/list', async function(ctx, next) {
  // ctx.body = yield service.get_search_data()
  let { data } = await axios.get(
    `http://vk.cuixiangping.com:81/home/wxapi/config_info`
  )
  ctx.body = {
    data
  }
})

module.exports = router
